﻿namespace AnQinFrameWorkAPI.Entity.BaseInfo.View.Department;

/// <summary>
///     部门视图模型
/// </summary>
public class DepartmentView
{
    /// <summary>
    ///     部门表id
    /// </summary>
    public string Id { get; set; }

    /// <summary>
    ///     编码
    /// </summary>
    public string Code { get; set; }

    /// <summary>
    ///     部门名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    ///     上级部门Id
    /// </summary>
    public string? SuperiorId { get; set; }
    
    /// <summary>
    ///     上级部门名称
    /// </summary>
    public string? SuperiorName { get; set; }

    /// <summary>
    ///     排序
    /// </summary>
    public int Order { get; set; }

    /// <summary>
    ///     创建时间
    /// </summary>
    public DateTime CreateTime { get; set; }
}